-
Home
-
Tutor LMS – eLearning and online course solution
-
3.8.3
-
Code
-
Classes
- Tax
| Total Complexity |
42 |
| Dependencies |
2 |
| Dependents |
8 |
| Total lines |
301 |
| Lines of code |
130 |
| Logical lines of code |
75 |
| Comment lines |
128 |
| Methods |
15 |
| Properties |
0 |
Methods 15
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| get_country_state_tax_rate() |
A |
45 |
12 |
43 |
| calculate_tax() |
S |
57 |
4 |
16 |
| get_settings() |
S |
68 |
3 |
7 |
| is_tax_configured() |
S |
70 |
3 |
6 |
| get_country_info() |
S |
66 |
3 |
8 |
| get_state_info() |
S |
68 |
3 |
7 |
| __construct() |
S |
71 |
2 |
6 |
| ajax_get_tax_settings() |
S |
65 |
2 |
9 |
| get_setting() |
S |
69 |
2 |
7 |
| should_calculate_tax() |
S |
78 |
2 |
3 |
| get_tax_type() |
S |
79 |
2 |
3 |
| is_individual_control_enabled() |
S |
78 |
1 |
3 |
| get_user_tax_rate() |
S |
69 |
1 |
6 |
| is_tax_included_in_price() |
S |
79 |
1 |
3 |
| show_price_with_tax() |
S |
79 |
1 |
3 |